package com.zbdx.medicalzb.mapper;

import com.zbdx.medicalzb.entity.MedicalPolicyEntity;
import com.zbdx.medicalzb.model.MedicalPolicyModel;
import com.zbdx.medicalzb.param.MedicalPolicyParam;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MedicalPolicyMapper {
    void deleteByCity(Integer id);


    List<MedicalPolicyModel> getAllPolicy(MedicalPolicyParam param);

    int saveMedicalPolicy(MedicalPolicyEntity mpEntity);

    int updateMedicalPolicy(MedicalPolicyEntity mpEntity);

    int deleteMedicalPolicy(Long id);
}
